package com.start.workflow.act;

import com.start.workflow.entity.StartActBusinessEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

@EqualsAndHashCode(callSuper = true)
@Data
@Schema(name = "StartActApplyNode", description = "我参与的节点")
public class StartActApplyNode extends StartActBusinessEntity {
    @Schema(name = "节点id")
    private String nodeId;
    @Schema(name = "节点名称")
    private String nodeName;
    @Schema(name = "节点定义key")
    private String nodeDefKey;
    @Schema(name = "节点候选人")
    private String nodeCandidateUserKeys;
    @Schema(name = "节点处理人key")
    private String nodeAssigneeUserKey;
    @Schema(name = "节点开始时间")
    private LocalDateTime nodeStartTime;
    @Schema(name = "几点结束数据")
    private LocalDateTime nodeEndTime;
    @Schema(name = "节点耗时", description = "毫秒")
    private Long nodeDuration;
    @Schema(name = "节点优先级")
    private Integer nodePriority;
}
